/**
 * Created by nickleo on 15/3/17.
 */

function get_progressData(){

}

function createTableline(line){
      //<th>Topic</th>
      //      <th>GroupName</th>
      //      <th>Broker Name</th>
      //      <th>QID</th>
      //      <th>Broker Offset</th>
      //      <th>Consumer Offset</th>
      //      <th>Diff</th>
   if (line != null) {
        var tr = " <tr class='"+ line.Color+"'> <td>"+line.Topic+ "</td> <td>"+line.GroupName+"</td> <td>"+line.BrokerName
            +"</td><td>"+line.QUID+"</td> <td>"+line.BrokerOffset+"</td> <td>"+line.ConsumerOffset+"</td> <td>"+line.Diff+"</td> </tr>";

        return tr;

    } else {
        return null;
    }
}